package com.maycari.captainbi.data.dto;

import java.math.BigDecimal;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 订单列表
 * </p>
 *
 * @author 王宏伟
 * @since 2021-04-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Captain16Dto对象", description="订单列表")
public class Captain16Dto implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty(value = "站点id")
    private Integer siteId;

    @ApiModelProperty(value = "订单在亚马逊平台上的订单号")
    private String amazonorderid;

    @ApiModelProperty(value = "卖家自己定义的订单号")
    private String sellerorderid;

    @ApiModelProperty(value = "北京下单时间")
    private Integer beijingpurchasedate;

    @ApiModelProperty(value = "亚马逊平台订单的创建时间")
    private Integer purchasedate;

    @ApiModelProperty(value = "站点的下单时间")
    private Integer localdate;

    @ApiModelProperty(value = "订单最后更新时间")
    private Integer lastupdatedate;

    @ApiModelProperty(value = "订单状态")
    private String orderstatus;

    @ApiModelProperty(value = "订单配送方式：亚马逊配送 (AFN) 或卖家自行配送 (MFN)。")
    private String fulfillmentchannel;

    @ApiModelProperty(value = "订单中第一件商品的销售渠道。")
    private String saleschannel;

    @ApiModelProperty(value = "订单中第一件商品的订单渠道")
    private String orderchannel;

    @ApiModelProperty(value = "货件服务水平。")
    private String shipservicelevel;

    @ApiModelProperty(value = "已配送的商品数量。")
    private Integer numberofitemsshipped;

    @ApiModelProperty(value = "未配送的商品数量。")
    private Integer numberofitemsunshipped;

    @ApiModelProperty(value = "订单的主要付款方式。COD - 货到付款。仅适用于中国 (CN) 和日本 (JP)。CVS - 便利店。仅适用于日本 (JP)。Other - COD 和 CVS 之外的付款方式。")
    private String paymentmethod;

    @ApiModelProperty(value = "订单生成所在商城的匿名编码。")
    private String marketplaceid;

    @ApiModelProperty(value = "买家的匿名电子邮件地址。")
    private String buyeremail;

    @ApiModelProperty(value = "买家姓名。")
    private String buyername;

    @ApiModelProperty(value = "订单的配送服务级别分类。")
    private String shipmentservicelevelcategory;

    @ApiModelProperty(value = "指明订单配送方是否是亚马逊配送 (Amazon TFM) 服务")
    private Integer shippedbyamazontfm;

    @ApiModelProperty(value = "亚马逊 TFM订单的状态。仅当ShippedByAmazonTFM = True时返回。请注意：即使当 ShippedByAmazonTFM = True 时，如果您还没有创建货件，也不会返回 TFMShipmentStatus。")
    private String tfmshipmentstatus;

    @ApiModelProperty(value = "卖家自定义的配送方式，属于Checkout by Amazon (CBA) 所支持的四种标准配送设置中的一种。有关更多信息，请参阅您所在商城 Amazon Payments 帮助中心的“设置灵活配送方式”主题。CBA 仅适用于美国 (US)、英国 (UK) 和德国 (DE) 的卖家")
    private String cbadisplayableshippinglabel;

    @ApiModelProperty(value = "订单类型。")
    private String ordertype;

    @ApiModelProperty(value = "您承诺的订单发货时间范围的第一天。日期格式为 ISO 8601。")
    private Integer earliestshipdate;

    @ApiModelProperty(value = "您承诺的订单发货时间范围的最后一天。日期格式为 ISO 8601。")
    private Integer latestshipdate;

    @ApiModelProperty(value = "您承诺的订单送达时间范围的第一天。日期格式为 ISO 8601。")
    private Integer earliestdeliverydate;

    @ApiModelProperty(value = "您承诺的订单送达时间范围的最后一天。日期格式为 ISO 8601。")
    private Integer latestdeliverydate;

    @ApiModelProperty(value = "名称")
    private String adName;

    @ApiModelProperty(value = "街道地址。")
    private String adAddressline1;

    @ApiModelProperty(value = "其他街道地址信息（如果需要）。")
    private String adAddressline2;

    @ApiModelProperty(value = "其他街道地址信息（如果需要）。")
    private String adAddressline3;

    @ApiModelProperty(value = "城市。")
    private String adCity;

    @ApiModelProperty(value = "区县。")
    private String adCounty;

    @ApiModelProperty(value = "区")
    private String adDistrict;

    @ApiModelProperty(value = "省/自治区/直辖市或地区。")
    private String adStateorregion;

    @ApiModelProperty(value = "PostalCode")
    private String adPostalcode;

    @ApiModelProperty(value = "两位数国家/地区代码。格式为 ISO 3166-1-alpha 2 。")
    private String adCountrycode;

    @ApiModelProperty(value = "电话号码。")
    private String adPhone;

    @ApiModelProperty(value = "交易时的汇率")
    private BigDecimal exchangeRate;

    @ApiModelProperty(value = "三位数的货币代码。格式为 ISO 4217。")
    private String moneyCurrencycode;

    @ApiModelProperty(value = "货币金额。")
    private BigDecimal moneyAmount;

    @ApiModelProperty(value = "客户ID_CRM")
    private Integer custId;

    @ApiModelProperty(value = "订单的系统插入时间")
    private Integer createTime;

    @ApiModelProperty(value = "系统的更新时间")
    private Integer modifiedTime;

    @ApiModelProperty(value = "订单状态改变时间 pending转ship时间")
    private Integer orderstatuschangetime;

    @ApiModelProperty(value = "授权管理表id")
    private Integer authorizationId;

}
